<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>添加内容</title>
	<load href="__PUBLIC__/common.css"/>
	<load href="__PUBLIC__/Admin/resources/scripts/jquery-1.7.2.min.js"/>
	<load href="__PUBLIC__/Boot/bootstrap.min.css"/>
	<load href="__PUBLIC__/Boot/bootstrap.min.js"/>
	<load href="__PUBLIC__/Button/css/font-awesome.min.css"/>
	<load href="__PUBLIC__/Ueditor/ueditor/ueditor.config.js"/>
	<load href="__PUBLIC__/Ueditor/ueditor/ueditor.all.min.js"/>
	<load href="__PUBLIC__/Ueditor/ueditor/lang/zh-cn/zh-cn.js"/>
			
</head>
<body>
	<!-- 这个区域填写初始化的内容 -->
				<script type="text/javascript">
					   // window.UEDITOR_CONFIG.savePath='Uploads', 
					   window.onload=function(){
					        window.UEDITOR_CONFIG.initialFrameHeight=300;
					        window.UEDITOR_CONFIG.initialFrameWidth=1000;//编辑器的高度
					        window.UEDITOR_CONFIG.imageUrl="{:U('Content/upload')}";          //图片上传提交地址
					        window.UEDITOR_CONFIG.imagePath='';//编辑器调用图片的地址
					       	UE.getEditor('container')
					   }
			     
				</script>
	<div>
		<p>
 		 <a href="javascript:;" class="btn btn-primary ">编辑内容</a>
 		 <a href="{:U('Content/index',array('cid'=>$_GET['cid']))}" class="btn btn-info" >回到内容列表</a>
		</p>		
	</div>
	<form action="{:U('content/edit')}" method="post" enctype="multipart/form-data">
	<div class="table-responsive">
  		<table class="table table-striped">
  			<volist name="content" id="c">
    		<tr>
				<td class="w100">{$c.name}</td>
				<td>{$c.html}</td>
			</tr>
			
			</volist>
			<tr>
				<td colspan='2'>
					<input  type="submit" value="提交内容" class="btn btn-primary r" >
				</td>
			</tr>
  		</table>

	</div>
	</form>


</body>
</html>

